Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.ecm.platform.rendition.contrib--renditionDefinitions

This contribution is part of XML component org.nuxeo.ecm.platform.rendition.contrib inside nuxeo-platform-rendition-core-7.10-HF02.jar /OSGI-INF/rendition-contrib.xml

Extension Point

Extension point renditionDefinitions of component RenditionService.

Contributed Items

  • <renditionDefinition name="pdf">
          <label>label.rendition.pdf</label>
          <icon>/icons/pdf.png</icon>
          <contentType>application/pdf</contentType>
          <operationChain>blobToPDF</operationChain>
          <filters>
            <filter-id>allowPDFRendition</filter-id>
          </filters>
        </renditionDefinition>
  • <renditionDefinition name="xmlExport">
          <label>label.exportview.xmlExport</label>
          <icon>/icons/xml.png</icon>
          <contentType>text/xml</contentType>
          <allowEmptyBlob>true</allowEmptyBlob>
          <operationChain>xmlExportRendition</operationChain>
        </renditionDefinition>
  • <renditionDefinition name="zipExport">
          <label>label.exportview.zipExport</label>
          <icon>/icons/zip_export.png</icon>
          <contentType>application/zip</contentType>
          <allowEmptyBlob>true</allowEmptyBlob>
          <operationChain>zipTreeExportRendition</operationChain>
          <filters>
            <filter-id>not_folder</filter-id>
          </filters>
        </renditionDefinition>
  • <renditionDefinition name="zipTreeExport">
          <label>label.exportview.zipTreeExport</label>
          <icon>/icons/zip_tree_export.png</icon>
          <contentType>application/zip</contentType>
          <allowEmptyBlob>true</allowEmptyBlob>
          <operationChain>zipTreeExportRendition</operationChain>
          <variantPolicy>user</variantPolicy>
          <filters>
            <filter-id>folder</filter-id>
          </filters>
        </renditionDefinition>

XML Source

<extension point="renditionDefinitions" target="org.nuxeo.ecm.platform.rendition.service.RenditionService">
    <renditionDefinition name="pdf">
      <label>label.rendition.pdf</label>
      <icon>/icons/pdf.png</icon>
      <contentType>application/pdf</contentType>
      <operationChain>blobToPDF</operationChain>
      <filters>
        <filter-id>allowPDFRendition</filter-id>
      </filters>
    </renditionDefinition>

    <renditionDefinition name="xmlExport">
      <label>label.exportview.xmlExport</label>
      <icon>/icons/xml.png</icon>
      <contentType>text/xml</contentType>
      <allowEmptyBlob>true</allowEmptyBlob>
      <operationChain>xmlExportRendition</operationChain>
    </renditionDefinition>

    <renditionDefinition name="zipExport">
      <label>label.exportview.zipExport</label>
      <icon>/icons/zip_export.png</icon>
      <contentType>application/zip</contentType>
      <allowEmptyBlob>true</allowEmptyBlob>
      <operationChain>zipTreeExportRendition</operationChain>
      <filters>
        <filter-id>not_folder</filter-id>
      </filters>
    </renditionDefinition>

    <renditionDefinition name="zipTreeExport">
      <label>label.exportview.zipTreeExport</label>
      <icon>/icons/zip_tree_export.png</icon>
      <contentType>application/zip</contentType>
      <allowEmptyBlob>true</allowEmptyBlob>
      <operationChain>zipTreeExportRendition</operationChain>
      <variantPolicy>user</variantPolicy>
      <filters>
        <filter-id>folder</filter-id>
      </filters>
    </renditionDefinition>
  </extension>